package com.flt.module.sample.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/sample/*")
public class SampleController {
	
	@Autowired
	private ISampleService userService;
	
	@RequestMapping("test")
	public String test(Model model){
		
		model.addAttribute("name", "abc");
		
		System.err.println(userService.countAllUser());
		
		return "sample/test.ftl";
	}
}
